SftTree/NET 2.0

Collapse Method, ItemCollectionClass Class

Softel vdm, Inc.

Expands all items in the item collection so their dependents become visible.

Syntax      ItemCollectionClass Class (Softelvdm.SftTreeNET)

VB   

Public Sub Collapse( ByVal Style As CollapseStyleEnum )

C#   

public void Collapse( CollapseStyleEnum Style );

C++   

public: void Collapse( CollapseStyleEnum Style );

Style

Defines how the items and their dependents are expanded.

CollapseStyleEnum

Value

Description

All

0

Collapse this item and all its dependents.

SaveCurrent

1

Collapse this item and all its dependents, saving the current state so it can later be restored using Expand(ExpandStyleEnum.RestoreLast).

Comments

The Collapse method expands all items in the item collection so their dependents become visible.

This method can only be used for items in the item area.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com